package com.liangzi.service_core.service;

import com.liangzi.service_core.pojo.entity.VisitBooking;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liangzi.service_core.pojo.vo.VisitBookingQueryVO;

import java.util.ArrayList;

/**
 * <p>
 * 患者预约表 服务类
 * </p>
 *
 * @author zhj
 * @since 2021-12-13
 */
public interface VisitBookingService extends IService<VisitBooking> {

    VisitBookingQueryVO getBooking(String userId, String visitBookingId);

    ArrayList<VisitBookingQueryVO> getBookingList(String userId);

    boolean cancelBooking(String userId, String bookingId);

}
